import React from 'react';

import { IconProps, RootPath, RootSvg } from './utils/base';

export const RAR = (props: IconProps) => (
  <RootSvg
    height={props.height || 40}
    viewBox={props.viewBox || '0 0 34 40'}
    width={props.width || 34}
    {...props}
  >
    <RootPath
      d='M0 3a3 3 0 013-3h20.333l10 10v27a3 3 0 01-3 3H3a3 3 0 01-3-3V3z'
      pathFill='#F5F5F5'
    />
    <RootPath d='M0 28h33.333v9a3 3 0 01-3 3H3a3 3 0 01-3-3v-9z' pathFill='#A8A8A8' />
    <RootPath
      d='M25.865 9.99a2.48 2.48 0 01-2.48-2.48V.058L33.33 9.99h-7.466z'
      pathFill='#DBDBDB'
    />
    <RootPath
      d='M8 .207C8 .093 8.093 0 8.207 0h1.24c.114 0 .206.093.206.207v1.24a.207.207 0 01-.206.206h-1.24A.207.207 0 018 1.447V.207zM8 14.88c0-.457.37-.827.827-.827h1.653c.457 0 .827.37.827.827v4.96c0 .457-.37.827-.827.827H8.827A.826.826 0 018 19.84v-4.96zm.827 2.48v2.48h1.653v-2.48H8.827zM9.86 1.653a.207.207 0 00-.207.207V3.1c0 .114.093.207.207.207h1.24a.207.207 0 00.207-.207V1.86a.207.207 0 00-.207-.207H9.86zM8.207 3.307A.207.207 0 008 3.513v1.24c0 .114.093.207.207.207h1.24a.207.207 0 00.206-.207v-1.24a.207.207 0 00-.206-.206h-1.24zM9.86 4.96a.207.207 0 00-.207.207v1.24c0 .114.093.206.207.206h1.24a.207.207 0 00.207-.206v-1.24a.207.207 0 00-.207-.207H9.86zM8.207 6.613A.207.207 0 008 6.82v1.24c0 .114.093.207.207.207h1.24a.207.207 0 00.206-.207V6.82a.207.207 0 00-.206-.207h-1.24zM9.86 8.267a.207.207 0 00-.207.206v1.24c0 .114.093.207.207.207h1.24a.207.207 0 00.207-.207v-1.24a.207.207 0 00-.207-.206H9.86zM8.207 9.92a.207.207 0 00-.207.207v1.24c0 .114.093.206.207.206h1.24a.207.207 0 00.206-.206v-1.24a.207.207 0 00-.206-.207h-1.24zm1.653 1.653a.207.207 0 00-.207.207v1.24c0 .114.093.207.207.207h1.24a.207.207 0 00.207-.207v-1.24a.207.207 0 00-.207-.207H9.86z'
      pathFill='#CFCFCF'
    />
    <RootPath
      d='M16.32 34.957c0-.287.223-.399.49-.462a3.91 3.91 0 01.277-.06c.177-.034.347-.067.457-.136.028.75-.16 1.071-.728 1.071-.266 0-.497-.119-.497-.413zm.07-1.47c.055-.308.265-.455.594-.455.245 0 .574.105.574.378 0 .224-.112.294-.315.336-.15.03-.315.053-.485.075-.766.102-1.629.217-1.629 1.185 0 .75.546 1.1 1.24 1.1.433 0 .888-.127 1.196-.449.014.12.028.231.07.343h1.197c-.14-.287-.14-.623-.14-.93v-1.59c0-1.029-.833-1.218-1.694-1.218-.413 0-.833.07-1.155.252-.322.19-.546.497-.567.973h1.113zM12.386 36h1.19v-1.8c0-.454.308-.86.896-.86.16 0 .3.028.455.07v-1.085a1.267 1.267 0 00-.28-.028c-.511 0-.917.245-1.092.707h-.014v-.637h-1.155V36zm8.32 0h-1.19v-3.633h1.155v.637h.014c.175-.462.58-.707 1.092-.707.09 0 .189.007.28.028v1.085a1.667 1.667 0 00-.455-.07c-.588 0-.896.406-.896.86V36z'
      pathFill='#FFFFFF'
    />
  </RootSvg>
);
